package cn.csq.design.structural.adapter;

/**
 * @author csq
 * @date 2022/1/27 11:03:48
 */
public class ZH_JPTranslator implements Translator {

    @Override
    public String translate(String content) {
        if ("你好".equals(content)) {
            return "口你急哇";
        }
        if ("什么".equals(content)) {
            return "纳尼";
        }
        return "****";
    }
}
